<link rel="stylesheet" href="../css/uploadify.css" type="text/css" />
<link rel="stylesheet" href="../css/body.css" type="text/css" />
<script type="text/javascript" src="../js/view.js"></script>

<script type="text/javascript">
Ext.onReady(function(){
	view.view_select_logo('logo_header','tb_sel_header');
	view.view_logo('logo_header','tb_del_header');
	$("#del_header").click(function(){
		var ids= common.getChecked('logo_header');
		if(ids == ""){
			alert("Chọn nội dung cần xóa");
		}else{
			if(confirm("Bạn chắc chắn muốn xóa?")){
				view.delete_logo('8',ids,'tb_del_header');
				view.view_select_logo('logo_header','tb_sel_header');
			}
		}
	});
	$("#select_header").click(function(){
		view.select_logo('8','tb_sel_header');
	});
});
</script>

<h2>HEADER PAGE</h2>
	
<div id="wrapper">
	<fieldset>
		<legend>Delete Header</legend>	
	<div id="tb_del_header" >
	</div>
	<div class="btn-submit">
		<input type="button" id="del_header" value="DELETE"  />
	</div>	
	</fieldset>

	<fieldset>
	<legend>Select Header</legend>
	<div id="tb_sel_header">				
	</div>
	<div class="btn-submit">
			<input type="button" id="select_header" value="Submit"  />
	</div>
	</fieldset>				
</div>
